package top.aicats.pattern.factory.SimpleFactory;

import top.aicats.pattern.factory.ICourse;
import top.aicats.pattern.factory.JavacCourse;

public class SimpleFactoryTest {
    public static void main(String[] args) {
        SimpleFactory factory=new SimpleFactory();
        ICourse course = factory.create(JavacCourse.class);
        course.Record();
    }
}
